<template>
  <button @click="start">{{countTime===0?'发送验证码':countTime}}</button>
  <button @click="endFn">暂停定时器</button>
</template>

<script>
import { useCountDown } from '@/compositions'
export default {

  setup () {
    return { ...useCountDown(5) }
  }
}
</script>
<style lang="less" scoped>

</style>
